package com.jhgsys.internal.workflow.service;

import com.jhgsys.internal.workflow.entity.WorkflowNodeTrans;
import com.jhgsys.internal.common.entity.QueryRequest;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 流程节点流向表 Service接口
 *
 * @author fenghaijun
 * @date 2024-07-19 09:56:47
 */
public interface IWorkflowNodeTransService extends IService<WorkflowNodeTrans> {
    /**
     * 查询（分页）
     * @author fenghaijun
     * @date 2024-07-19 09:56:47
     * @param request QueryRequest
     * @param workflowNodeTrans workflowNodeTrans
     * @return IPage<WorkflowNodeTrans>
     */
    IPage<WorkflowNodeTrans> findWorkflowNodeTranss(QueryRequest request, WorkflowNodeTrans workflowNodeTrans);

    /**
     * 查询（所有）
     * @author fenghaijun
     * @date 2024-07-19 09:56:47
     * @param workflowNodeTrans workflowNodeTrans
     * @return List<WorkflowNodeTrans>
     */
    List<WorkflowNodeTrans> findWorkflowNodeTranss(WorkflowNodeTrans workflowNodeTrans);

    /**
    * 根据ID查询
    * @author fenghaijun
    * @date 2024-07-19 09:56:47
    * @param id
    * @return WorkflowNodeTrans
    */
    WorkflowNodeTrans findWorkflowNodeTransById(String id);

    /**
     * 新增
     * @author fenghaijun
     * @date 2024-07-19 09:56:47
     * @param workflowNodeTrans workflowNodeTrans
     */
    void createWorkflowNodeTrans(WorkflowNodeTrans workflowNodeTrans);

    /**
     * 修改
     * @author fenghaijun
     * @date 2024-07-19 09:56:47
     * @param workflowNodeTrans workflowNodeTrans
     */
    void updateWorkflowNodeTrans(WorkflowNodeTrans workflowNodeTrans);

    /**
     * 逻辑删除
     * @author fenghaijun
     * @date 2024-07-19 09:56:47
     * @param workflowNodeTrans workflowNodeTrans
     * @param workflowNodeTransIds workflowNodeTransIds
     */
    void deleteWorkflowNodeTrans(WorkflowNodeTrans workflowNodeTrans,String workflowNodeTransIds);

    /**
    * 物理删除
    * @author fenghaijun
    * @date 2024-07-19 09:56:47
    * @param workflowNodeTransIds workflowNodeTransIds
    */
    void physicallyDeleteWorkflowNodeTrans(String workflowNodeTransIds);
}
